#ifndef _I_CONTAINER_H
#define _I_CONTAINER_H

#include "IPlugin.h"
#include "IServlet.h"
class IContainer : public IPlugin{
public:
    virtual IServlet *getServlet()= 0;

    virtual void on(SERVLET_STATUS type,std::function<int(ISession *)> handler) {}
};

#endif // _I_CONTAINER_H